<?php
/**
 * @package WordPress Themes
 * @subpackage Tencent CDC Theme
 */
get_header();
 ?>

<div id="container">
	<div id="content">
	<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
	<div id="content_top">
    <div id="content_bot">
		<p id="inside_nav"><a href="<?php bloginfo('url'); ?>">日志</a> > <?php the_category( ' > '&'multiple'); ?>  > <a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></p>
		<div class="content_text" id="for_single">
			<div id="single_post_content">	  
				<?php the_title('<h1>', '</h1>'); ?>
				<h2 class="post_author"> 
					<div class="photo_left">
						<?php echo get_avatar(get_the_author_email(),40); ?>
					</div>
					<div class="author_right">
						<div class="author_right_top"><Span><?php the_author() ?> [ <span><?php the_category(','); ?></span> ]</span></div>
						<div class="author_right_bottom"><?php the_time() ?></div>	
					</div>	  
				</h2>
			<?php the_content(); ?>	
			</div>

		<div id="navigation_single" class="clear">
			<div class="alignleft"><?php previous_post_link(); ?></div>
			<div class="alignright"><?php next_post_link() ?></div>
		</div>
		
		<?php comments_template(); ?>
		
		<?php endwhile; else: ?>
			<p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
		<?php endif; ?>
		
		</div>
	</div>
	</div>
	</div>
	  
<?php get_sidebar(); ?>
<?php get_footer(); ?>